package com.example.design.templateDemo;

import org.springframework.stereotype.Component;

@Component
public class EatTemplate extends DoTemplate {
    @Override
    protected void dealSomeThing() {
        System.out.println("吃");
    }
}
